<%@ page import="bean.ScoreDTO" %>
<%@ page import="bean.ScoreVO" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../css/score.css" />
<script type="text/javascript" src="../js/B01score.js"></script>
<title>점수 정보 수정 결과(modify_result.jsp)</title>
</head>
<body>
<h1> 점수 정보 수정 결과</h1>
<jsp:useBean id="vo" class="bean.ScoreVO" scope="page"></jsp:useBean>
<jsp:setProperty property="*" name="vo"/>
<%
out.print(vo.getRno());
	ScoreDTO sdto = new ScoreDTO();
	sdto.setVo(vo);
	boolean bolean = false;
	bolean = sdto.modify();
	if(bolean){
%>
아이디:<%= vo.getMid() %>
학년:<%= vo.getGrade() %>
학교코드:<%= vo.getScode() %>
시험일자:<%= vo.getExamdate() %>
시험 과목:<%= vo.getExam() %>
과목 점수:<%= vo.getPoint() %>
등급:<%= vo.getRank() %>
<script type="text/javascript">alert('성공적으로 등록 되었습니다.');</script>
<%}
	else{
	%>
	<script type="text/javascript">alert("등록에 실패 하였습니다.");</script>
	<%} %>

<form name="hiddenFrm" method="post">
	<input type="hidden" name= "nowPage" value="<%=vo.getNowPage()%>">
	<input type="hidden" name= "find" value="<%=vo.getFind()%>">
	<input type="hidden" name= "rno" value="<%=vo.getRno()%>">
</form>
<input type="button" value= "점수 목록으로"  id= "btnList"/>
<script type="text/javascript">modifyInit();</script>
</body>
</html>